package com.pz.sjxypz;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.SequenceGenerator;

/**   
 * @Title: Entity
 * @Description: 数据协议配置
 * @author zhangdaihao
 * @date 2017-08-22 11:15:48
 * @version V1.0   
 *
 */
@Entity
@Table(name = "t_jk_protocol", schema = "")
@DynamicUpdate(true)
@DynamicInsert(true)
@SuppressWarnings("serial")
public class sjxypzEntity implements java.io.Serializable {
	/**pkProtocol*/
	private java.lang.String pkProtocol;
	/**协议名称*/
	private java.lang.String fdPname;
	/**矿区*/
	private java.lang.String fdKq;
	
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  pkProtocol
	 */
	
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name ="PK_PROTOCOL",nullable=false,length=36)
	public java.lang.String getPkProtocol(){
		return this.pkProtocol;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  pkProtocol
	 */
	public void setPkProtocol(java.lang.String pkProtocol){
		this.pkProtocol = pkProtocol;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  协议名称
	 */
	@Column(name ="FD_PNAME",nullable=true,length=100)
	public java.lang.String getFdPname(){
		return this.fdPname;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  协议名称
	 */
	public void setFdPname(java.lang.String fdPname){
		this.fdPname = fdPname;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  矿区
	 */
	@Column(name ="FD_KQ",nullable=true,length=100)
	public java.lang.String getFdKq(){
		return this.fdKq;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  用户名
	 */
	public void setFdKq(java.lang.String fdKq){
		this.fdKq = fdKq;
	}
}
